package com.cms.service;

import java.util.List;


import com.cms.model.TrCatalog;
import com.cms.model.TrDict;

public interface DictService {

	 /**
	  * 
	  * @param dict
	  * @throws SystemDBException
	  */
	 public void saveDict(TrDict dict)throws Exception;
	 
	 /***
	  * 
	  * @param dict
	  * @throws SystemDBException
	  */
	 public void updateDict(TrDict dict)throws Exception;
	 
	 
	 /***
	  * 
	  * @param dict
	  * @throws SystemDBException
	  */
	 public void delDict(TrDict dict)throws Exception;
	 
	 
	 /***
	  * 
	  * @param dict
	  * @throws SystemDBException
	  */
	 public TrDict getDictInfo(TrDict dict);
	 
	 /***
	  * 
	  * @param catalog
	  * @throws SystemDBException
	  */
	 public void saveDictCatalogs(List<TrCatalog> catalog)throws Exception;
	 
	 
	 /**
	  * 
	  * @param log
	  * @return
	  */
	 public List<TrCatalog>queryCatalog();
	  
	 
	 /***
	  * 
	  * @param dict
	  * @throws SystemDBException
	  */
	 public void delCatalog(TrCatalog catalog)throws Exception;
}
